import request from '@/utils/request'

export function AddThoroughfare(data) {
    // 新增通道
    return request({
        url: `/Channel/add`,
        method: 'post',
        data,
    })
}

export function QuerThoroughfare(data) {
    // 查询通道
    return request({
        url: `/Channel/selectChannelAll`,
        method: 'post',
        data,
    })
}

export function EditThoroughfare(data) {
    // 修改通道
    return request({
        url: `/Channel/updateById`,
        method: 'post',
        data,
    })
}
